package com.laiketui.domain.plugins;

import java.util.List;

/**
 * @description:
 * @author: wx
 * @date: Created in 2019/10/25 10:03
 * @version: 1.0
 * @modified By:
 */
public interface PluginMgr {

    /**
     * @description 安装
     * @author wx
     * @date 2019/10/25 10:04
     * @param vo
     * @return
     */
    void install(PluginsVO vo) throws Exception;

    /**
     * @description 卸载
     * @author wx
     * @date 2019/10/25 10:04
     * @param vo
     * @return
     */
    void uninstall(PluginsVO vo) throws  Exception;

    /**
     * @description 启用
     * @author wx
     * @date 2019/10/25 10:06
     * @return
     */
    void open(List<PluginsVO> vos) throws Exception;

    /**
     * @description 关闭
     * @author wx
     * @date 2019/10/25 10:06
     * @return
     */
    void close(List<PluginsVO> vos) throws Exception;

}
